﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JoinPartyResgisterList.aspx.cs" Inherits="JoinParty.admin.ApplyJoin.JoinPartyResgisterList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" runat="server" BodyPadding="5px"
            ShowBorder="false" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start"
            ShowHeader="false" Title="入党登记查看">
            <Items>
                <f:Form ID="Form2" runat="server" Height="36px" BodyPadding="5px" ShowHeader="false" ShowBorder="false" LabelAlign="Right">
                    <Rows>
                        <f:FormRow>
                            <Items>
                                <f:TextBox ID="txtUserName" runat="server" Label="姓名" LabelAlign="right" LabelWidth="40px" MaxLength="20"></f:TextBox>
                                <f:Button Margin="0 0 0 5" ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" Icon="SystemSearch"></f:Button>
                            </Items>
                        </f:FormRow>
                    </Rows>
                </f:Form>
                <f:Grid ID="Grid1" runat="server" BoxFlex="1" ShowBorder="true" ShowHeader="false"
                    EnableCheckBoxSelect="true"
                    DataKeyNames="ID,UserName" AllowSorting="true" OnSort="Grid1_Sort" SortField="Statue" SortDirection="DESC"
                    AllowPaging="true" IsDatabasePaging="true" OnPageIndexChange="Grid1_PageIndexChange">
                    <PageItems>
                        <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                        </f:ToolbarSeparator>
                        <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数：">
                        </f:ToolbarText>
                        <f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_SelectedIndexChanged"
                            runat="server">
                            <f:ListItem Text="10" Value="10" />
                            <f:ListItem Text="20" Value="20" />
                            <f:ListItem Text="50" Value="50" />
                            <f:ListItem Text="100" Value="100" />
                        </f:DropDownList>
                    </PageItems>
                    <Columns>
                        <f:RowNumberField Width="35px" EnablePagingNumber="true" />
                        <f:BoundField DataField="UserName" SortField="UserName" HeaderText="姓名" Width="150px" TextAlign="Center" />
                        <f:BoundField DataField="TelephoneNumber" Width="120px" HeaderText="联系电话" TextAlign="Center" />
                        <f:BoundField DataField="Description" HeaderText="简单介绍" ExpandUnusedSpace="true" TextAlign="left" />
                        <f:BoundField DataField="Statue" SortField="Statue" Width="100px" HeaderText="状态" TextAlign="Center" />
                        <f:BoundField DataField="CreateBy" Width="150px" HeaderText="创建人" TextAlign="Center" />
                        <f:BoundField DataField="CreateTime" SortField="CreateTime" Width="120px" HeaderText="创建时间" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" />
                        <f:LinkButtonField ColumnID="ResgisterID" TextAlign="Center" HeaderText="操作" Width="100px" Text="111" runat="server" CommandName="Change"></f:LinkButtonField>
                    </Columns>
                </f:Grid>
            </Items>
        </f:Panel>
    </form>
</body>
</html>
